Termination w.r.t. Q of the following Term Rewriting System could be proven:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(a, f(a, x)) → f(x, f(a, f(f(a, a), a)))

Q is empty.


QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

f(a, f(a, x)) → f(x, f(a, f(f(a, a), a)))

Q is empty.

Using Dependency Pairs [1,15] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(a, a)
F(a, f(a, x)) → F(x, f(a, f(f(a, a), a)))
F(a, f(a, x)) → F(f(a, a), a)
F(a, f(a, x)) → F(a, f(f(a, a), a))

The TRS R consists of the following rules:

f(a, f(a, x)) → f(x, f(a, f(f(a, a), a)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(a, a)
F(a, f(a, x)) → F(x, f(a, f(f(a, a), a)))
F(a, f(a, x)) → F(f(a, a), a)
F(a, f(a, x)) → F(a, f(f(a, a), a))

The TRS R consists of the following rules:

f(a, f(a, x)) → f(x, f(a, f(f(a, a), a)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 3 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
QDP
          ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(x, f(a, f(f(a, a), a)))

The TRS R consists of the following rules:

f(a, f(a, x)) → f(x, f(a, f(f(a, a), a)))

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
We can use the usable rules and reduction pair processor [15] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its argument. Then, we can delete all non-usable rules [17] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ UsableRulesProof
QDP
              ↳ Instantiation

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, x)) → F(x, f(a, f(f(a, a), a)))

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By instantiating [15] the rule F(a, f(a, x)) → F(x, f(a, f(f(a, a), a))) we obtained the following new rules:

F(a, f(a, f(f(a, a), a))) → F(f(f(a, a), a), f(a, f(f(a, a), a)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ QDP
          ↳ UsableRulesProof
            ↳ QDP
              ↳ Instantiation
QDP
                  ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

F(a, f(a, f(f(a, a), a))) → F(f(f(a, a), a), f(a, f(f(a, a), a)))

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [15,17,22] contains 0 SCCs with 1 less node.